package chapter02;

public class Bank {
    private int out;
    public void getMoney(int out)throws BankException{
        if(out%100==0){
            System.out.println(out);
        }else throw new BankException("错误");

    }
}
